void
_gtk_border_image_pack (GValue *value,
GtkStyleProperties *props,
- GtkStateFlags state,
- GtkStylePropertyContext *context)
+ GtkStateFlags state)
{
GtkBorderImage *image;
cairo_pattern_t *source;
GtkBorder *slice, *width;
GtkCssBorderImageRepeat *repeat;
- _gtk_style_properties_get (props, state, context,
- "border-image-source", &source,
- "border-image-slice", &slice,
- "border-image-repeat", &repeat,
- "border-image-width", &width,
- NULL);
+ gtk_style_properties_get (props, state,
+ "border-image-source", &source,
+ "border-image-slice", &slice,
+ "border-image-repeat", &repeat,
+ "border-image-width", &width,
+ NULL);
if (source == NULL)
{
guint *n_params);
void _gtk_border_image_pack (GValue *value,
GtkStyleProperties *props,
- GtkStateFlags state,
- GtkStylePropertyContext *context);
+ GtkStateFlags state);
G_END_DECLS
_gtk_css_shorthand_property_query (GtkStyleProperty *property,
GtkStyleProperties *props,
GtkStateFlags state,
- GtkStylePropertyContext *context,
GValue *value)
{
property->pack_func (value, props, state);
_gtk_css_style_property_query (GtkStyleProperty *property,
GtkStyleProperties *props,
GtkStateFlags state,
- GtkStylePropertyContext *context,
GValue *value)
{
const GValue *val;
return FALSE;
}
- _gtk_style_property_query (node, props, state, context, value);
+ _gtk_style_property_query (node, props, state, value);
return TRUE;
}
_gtk_style_property_query (GtkStyleProperty *property,
GtkStyleProperties *props,
GtkStateFlags state,
- GtkStylePropertyContext *context,
GValue *value)
{
GtkStylePropertyClass *klass;
g_return_if_fail (property != NULL);
g_return_if_fail (GTK_IS_STYLE_PROPERTIES (props));
- g_return_if_fail (context != NULL);
g_return_if_fail (value != NULL);
klass = GTK_STYLE_PROPERTY_GET_CLASS (property);
g_value_init (value, property->value_type);
- klass->query (property, props, state, context, value);
+ klass->query (property, props, state, value);
}
static void
void (* query) (GtkStyleProperty *property,
GtkStyleProperties *props,
GtkStateFlags state,
- GtkStylePropertyContext *context,
GValue *value);
gboolean (* parse_value) (GtkStyleProperty * property,
GValue *value,
void _gtk_style_property_query (GtkStyleProperty * property,
GtkStyleProperties *props,
GtkStateFlags state,
- GtkStylePropertyContext *context,
GValue *value);
void _gtk_style_property_assign (GtkStyleProperty *property,
GtkStyleProperties *props,